//package com.invengo.communal.data.repsitory.offlinedata.source.impl;
//
//import com.invengo.base.greendao.entity.ShelfBean;
//import com.invengo.base.greendao.entity.offline.OfflineBuildingStruct;
//import com.invengo.base.greendao.entity.rfid.RfidUser;
//import com.invengo.base.http.RetrofitClient;
//import com.invengo.communal.data.api.OfflineApi;
//import com.invengo.communal.data.repsitory.offlinedata.source.NetModelSource;
//
//import java.util.List;
//
//import io.reactivex.Observable;
//import me.goldze.mvvmhabit.http.BaseBean;
//
//public class LocalNetModelSourceImpl implements NetModelSource {
//    private OfflineApi service;
//
//    public LocalNetModelSourceImpl() {
//        service = RetrofitClient.getInstance().create(OfflineApi.class);
//    }
//    @Override
//    public Observable<BaseBean<List<RfidUser>>> getAllUser() {
//        return service.getAllUser();
//    }
//
//    @Override
//    public Observable<BaseBean<List<OfflineBuildingStruct>>> getStruct() {
//        return service.getStruct();
//    }
//    @Override
//    public Observable<BaseBean<ShelfBean>> getAllShelf(){
//        return service.getAllLayer();
//    }
//
//    @Override
//    public Observable<BaseBean<Long>> getBookCount(String beginTime,String endTime) {
//        return service.getBookCount(beginTime,endTime);
//    }
//
//    @Override
//    public Observable<BaseBean<String>> getPagingDataOfBook(String pageIndex, String pageSize, String beginTime, String endTime) {
//        return service.getPagingDataOfBook(pageIndex,pageSize,beginTime,endTime);
//    }
//}
